/*
package com.ccod.nacos.provider.facade.drm;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.context.annotation.Configuration;

*/
/**
 * @author: ccod
 * @data: 2020/12/27 11:38
 **//*

@Configuration
@NacosPropertySource(dataId = "com.ccod.example.nacas.grpc.provider.DynamicConfig2.json", autoRefreshed = true)
public class DynamicConfig {

    @NacosValue(value = "${cc}", autoRefreshed = true)
    private String cc;

    @NacosValue(value = "${dd}", autoRefreshed = true)
    private String dd;

    @Override
    public String toString() {
        return "DynamicConfig{" +
                "cc='" + cc + '\'' +
                ", dd='" + dd + '\'' +
                '}';
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public String getDd() {
        return dd;
    }

    public void setDd(String dd) {
        this.dd = dd;
    }
}
*/
